/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package Model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

/**
 *
 * @author aluno
 */
public class Usuario implements Serializable {

    private int id;

    private String name;
    private String city;
    private String state;
    private String phone;
    private String login;
    private String password;
    private Set receitas = new HashSet();

    public Usuario() {
    }
    
    public Usuario(String name, String city, String state, String phone, String login, String password) {
        this.name = name;
        this.city = city;
        this.state = state;
        this.phone = phone;
        this.login = login;
        this.password = password;
    }
    
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
    
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLogin() {
        return login;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
    
    public Set getReceitas() {
        return receitas;
    }

    public void setReceitas(Set receitas) {
        this.receitas = receitas;
    }

}
